package com.uduew.sjd.api;

import androidx.annotation.NonNull;

import com.uduew.sjd.config.Const;
import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class UpdateBankCardApi implements IRequestApi, IRequestType {

    private ReqUpdateBankCardBean overripe;

    public UpdateBankCardApi(ReqUpdateBankCardBean overripe) {
        this.overripe = overripe;
    }

    @NonNull
    @Override
    public String getApi() {
        return Const.UPDATE_BANK_CARD;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ReqUpdateBankCardBean {
        private String rosy;
        private String aerification;
        private String melaleuca;
        private String lough;
        private String cum;
        private String biopsy;

        public ReqUpdateBankCardBean(String rosy, String aerification, String melaleuca, String lough, String cum, String biopsy) {
            this.rosy = rosy;
            this.aerification = aerification;
            this.melaleuca = melaleuca;
            this.lough = lough;
            this.cum = cum;
            this.biopsy = biopsy;
        }
    }

}

